3.1.72 \(\int \frac {(d+e x^2) (a+b \sec ^{-1}(c x))}{x^2} \, dx\) [72]

Optimal. Leaf size=87 \[ \frac {b c d \sqrt {-1+c^2 x^2}}{\sqrt {c^2 x^2}}-\frac {d \left (a+b \sec ^{-1}(c x)\right )}{x}+e x \left (a+b \sec ^{-1}(c x)\right )-\frac {b e x \tanh ^{-1}\left (\frac {c x}{\sqrt {-1+c^2 x^2}}\right )}{\sqrt {c^2 x^2}} \]

[Out]

-d*(a+b*arcsec(c*x))/x+e*x*(a+b*arcsec(c*x))-b*e*x*arctanh(c*x/(c^2*x^2-1)^(1/2))/(c^2*x^2)^(1/2)+b*c*d*(c^2*x
^2-1)^(1/2)/(c^2*x^2)^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.05, antiderivative size = 87, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 5, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.263, Rules used = {14, 5346, 462, 223, 212} \begin {gather*} -\frac {d \left (a+b \sec ^{-1}(c x)\right )}{x}+e x \left (a+b \sec ^{-1}(c x)\right )+\frac {b c d \sqrt {c^2 x^2-1}}{\sqrt {c^2 x^2}}-\frac {b e x \tanh ^{-1}\left (\frac {c x}{\sqrt {c^2 x^2-1}}\right )}{\sqrt {c^2 x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[((d + e*x^2)*(a + b*ArcSec[c*x]))/x^2,x]

[Out]

(b*c*d*Sqrt[-1 + c^2*x^2])/Sqrt[c^2*x^2] - (d*(a + b*ArcSec[c*x]))/x + e*x*(a + b*ArcSec[c*x]) - (b*e*x*ArcTan
h[(c*x)/Sqrt[-1 + c^2*x^2]])/Sqrt[c^2*x^2]

Rule 14

Int[(u_)*((c_.)*(x_))^(m_.), x_Symbol] :> Int[ExpandIntegrand[(c*x)^m*u, x], x] /; FreeQ[{c, m}, x] && SumQ[u]
 &&  !LinearQ[u, x] &&  !MatchQ[u, (a_) + (b_.)*(v_) /; FreeQ[{a, b}, x] && InverseFunctionQ[v]]

Rule 212

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(1/(Rt[a, 2]*Rt[-b, 2]))*ArcTanh[Rt[-b, 2]*(x/Rt[a, 2])], x]
 /; FreeQ[{a, b}, x] && NegQ[a/b] && (GtQ[a, 0] || LtQ[b, 0])

Rule 223

Int[1/Sqrt[(a_) + (b_.)*(x_)^2], x_Symbol] :> Subst[Int[1/(1 - b*x^2), x], x, x/Sqrt[a + b*x^2]] /; FreeQ[{a,
b}, x] &&  !GtQ[a, 0]

Rule 462

Int[((e_.)*(x_))^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_.)*((c_) + (d_.)*(x_)^(n_)), x_Symbol] :> Simp[c*(e*x)^(m +
 1)*((a + b*x^n)^(p + 1)/(a*e*(m + 1))), x] + Dist[d/e^n, Int[(e*x)^(m + n)*(a + b*x^n)^p, x], x] /; FreeQ[{a,
 b, c, d, e, m, n, p}, x] && NeQ[b*c - a*d, 0] && EqQ[m + n*(p + 1) + 1, 0] && (IntegerQ[n] || GtQ[e, 0]) && (
(GtQ[n, 0] && LtQ[m, -1]) || (LtQ[n, 0] && GtQ[m + n, -1]))

Rule 5346

Int[((a_.) + ArcSec[(c_.)*(x_)]*(b_.))*((f_.)*(x_))^(m_.)*((d_.) + (e_.)*(x_)^2)^(p_.), x_Symbol] :> With[{u =
 IntHide[(f*x)^m*(d + e*x^2)^p, x]}, Dist[a + b*ArcSec[c*x], u, x] - Dist[b*c*(x/Sqrt[c^2*x^2]), Int[SimplifyI
ntegrand[u/(x*Sqrt[c^2*x^2 - 1]), x], x], x]] /; FreeQ[{a, b, c, d, e, f, m, p}, x] && ((IGtQ[p, 0] &&  !(ILtQ
[(m - 1)/2, 0] && GtQ[m + 2*p + 3, 0])) || (IGtQ[(m + 1)/2, 0] &&  !(ILtQ[p, 0] && GtQ[m + 2*p + 3, 0])) || (I
LtQ[(m + 2*p + 1)/2, 0] &&  !ILtQ[(m - 1)/2, 0]))

Rubi steps

\begin {align*} \int \frac {\left (d+e x^2\right ) \left (a+b \sec ^{-1}(c x)\right )}{x^2} \, dx &=-\frac {d \left (a+b \sec ^{-1}(c x)\right )}{x}+e x \left (a+b \sec ^{-1}(c x)\right )-\frac {(b c x) \int \frac {-d+e x^2}{x^2 \sqrt {-1+c^2 x^2}} \, dx}{\sqrt {c^2 x^2}}\\ &=\frac {b c d \sqrt {-1+c^2 x^2}}{\sqrt {c^2 x^2}}-\frac {d \left (a+b \sec ^{-1}(c x)\right )}{x}+e x \left (a+b \sec ^{-1}(c x)\right )-\frac {(b c e x) \int \frac {1}{\sqrt {-1+c^2 x^2}} \, dx}{\sqrt {c^2 x^2}}\\ &=\frac {b c d \sqrt {-1+c^2 x^2}}{\sqrt {c^2 x^2}}-\frac {d \left (a+b \sec ^{-1}(c x)\right )}{x}+e x \left (a+b \sec ^{-1}(c x)\right )-\frac {(b c e x) \text {Subst}\left (\int \frac {1}{1-c^2 x^2} \, dx,x,\frac {x}{\sqrt {-1+c^2 x^2}}\right )}{\sqrt {c^2 x^2}}\\ &=\frac {b c d \sqrt {-1+c^2 x^2}}{\sqrt {c^2 x^2}}-\frac {d \left (a+b \sec ^{-1}(c x)\right )}{x}+e x \left (a+b \sec ^{-1}(c x)\right )-\frac {b e x \tanh ^{-1}\left (\frac {c x}{\sqrt {-1+c^2 x^2}}\right )}{\sqrt {c^2 x^2}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.09, size = 104, normalized size = 1.20 \begin {gather*} -\frac {a d}{x}+a e x+b c d \sqrt {\frac {-1+c^2 x^2}{c^2 x^2}}-\frac {b d \sec ^{-1}(c x)}{x}+b e x \sec ^{-1}(c x)-\frac {b e \sqrt {1-\frac {1}{c^2 x^2}} x \tanh ^{-1}\left (\frac {c x}{\sqrt {-1+c^2 x^2}}\right )}{\sqrt {-1+c^2 x^2}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[((d + e*x^2)*(a + b*ArcSec[c*x]))/x^2,x]

[Out]

-((a*d)/x) + a*e*x + b*c*d*Sqrt[(-1 + c^2*x^2)/(c^2*x^2)] - (b*d*ArcSec[c*x])/x + b*e*x*ArcSec[c*x] - (b*e*Sqr
t[1 - 1/(c^2*x^2)]*x*ArcTanh[(c*x)/Sqrt[-1 + c^2*x^2]])/Sqrt[-1 + c^2*x^2]

________________________________________________________________________________________

Maple [A]
time = 0.11, size = 137, normalized size = 1.57

method result size
derivativedivides \(c \left (\frac {a \left (e c x -\frac {d c}{x}\right )}{c^{2}}+\frac {b \,\mathrm {arcsec}\left (c x \right ) e x}{c}-\frac {b \,\mathrm {arcsec}\left (c x \right ) d}{c x}+\frac {b \left (c^{2} x^{2}-1\right ) d}{c^{2} x^{2} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}-\frac {b \sqrt {c^{2} x^{2}-1}\, e \ln \left (c x +\sqrt {c^{2} x^{2}-1}\right )}{c^{3} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, x}\right )\) \(137\)
default \(c \left (\frac {a \left (e c x -\frac {d c}{x}\right )}{c^{2}}+\frac {b \,\mathrm {arcsec}\left (c x \right ) e x}{c}-\frac {b \,\mathrm {arcsec}\left (c x \right ) d}{c x}+\frac {b \left (c^{2} x^{2}-1\right ) d}{c^{2} x^{2} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}}-\frac {b \sqrt {c^{2} x^{2}-1}\, e \ln \left (c x +\sqrt {c^{2} x^{2}-1}\right )}{c^{3} \sqrt {\frac {c^{2} x^{2}-1}{c^{2} x^{2}}}\, x}\right )\) \(137\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((e*x^2+d)*(a+b*arcsec(c*x))/x^2,x,method=_RETURNVERBOSE)

[Out]

c*(a/c^2*(e*c*x-d*c/x)+b/c*arcsec(c*x)*e*x-b*arcsec(c*x)*d/c/x+b*(c^2*x^2-1)/c^2/x^2/((c^2*x^2-1)/c^2/x^2)^(1/
2)*d-b/c^3*(c^2*x^2-1)^(1/2)/((c^2*x^2-1)/c^2/x^2)^(1/2)/x*e*ln(c*x+(c^2*x^2-1)^(1/2)))

________________________________________________________________________________________

Maxima [A]
time = 0.29, size = 91, normalized size = 1.05 \begin {gather*} {\left (c \sqrt {-\frac {1}{c^{2} x^{2}} + 1} - \frac {\operatorname {arcsec}\left (c x\right )}{x}\right )} b d + a x e + \frac {{\left (2 \, c x \operatorname {arcsec}\left (c x\right ) - \log \left (\sqrt {-\frac {1}{c^{2} x^{2}} + 1} + 1\right ) + \log \left (-\sqrt {-\frac {1}{c^{2} x^{2}} + 1} + 1\right )\right )} b e}{2 \, c} - \frac {a d}{x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d)*(a+b*arcsec(c*x))/x^2,x, algorithm="maxima")

[Out]

(c*sqrt(-1/(c^2*x^2) + 1) - arcsec(c*x)/x)*b*d + a*x*e + 1/2*(2*c*x*arcsec(c*x) - log(sqrt(-1/(c^2*x^2) + 1) +
 1) + log(-sqrt(-1/(c^2*x^2) + 1) + 1))*b*e/c - a*d/x

________________________________________________________________________________________

Fricas [A]
time = 5.01, size = 128, normalized size = 1.47 \begin {gather*} \frac {b c^{2} d x + a c x^{2} e + b x e \log \left (-c x + \sqrt {c^{2} x^{2} - 1}\right ) + \sqrt {c^{2} x^{2} - 1} b c d - a c d + {\left (b c d x - b c d + {\left (b c x^{2} - b c x\right )} e\right )} \operatorname {arcsec}\left (c x\right ) - 2 \, {\left (b c d x - b c x e\right )} \arctan \left (-c x + \sqrt {c^{2} x^{2} - 1}\right )}{c x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d)*(a+b*arcsec(c*x))/x^2,x, algorithm="fricas")

[Out]

(b*c^2*d*x + a*c*x^2*e + b*x*e*log(-c*x + sqrt(c^2*x^2 - 1)) + sqrt(c^2*x^2 - 1)*b*c*d - a*c*d + (b*c*d*x - b*
c*d + (b*c*x^2 - b*c*x)*e)*arcsec(c*x) - 2*(b*c*d*x - b*c*x*e)*arctan(-c*x + sqrt(c^2*x^2 - 1)))/(c*x)

________________________________________________________________________________________

Sympy [A]
time = 4.01, size = 73, normalized size = 0.84 \begin {gather*} - \frac {a d}{x} + a e x + b c d \sqrt {1 - \frac {1}{c^{2} x^{2}}} - \frac {b d \operatorname {asec}{\left (c x \right )}}{x} + b e x \operatorname {asec}{\left (c x \right )} - \frac {b e \left (\begin {cases} \operatorname {acosh}{\left (c x \right )} & \text {for}\: \left |{c^{2} x^{2}}\right | > 1 \\- i \operatorname {asin}{\left (c x \right )} & \text {otherwise} \end {cases}\right )}{c} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x**2+d)*(a+b*asec(c*x))/x**2,x)

[Out]

-a*d/x + a*e*x + b*c*d*sqrt(1 - 1/(c**2*x**2)) - b*d*asec(c*x)/x + b*e*x*asec(c*x) - b*e*Piecewise((acosh(c*x)
, Abs(c**2*x**2) > 1), (-I*asin(c*x), True))/c

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 1088 vs. \(2 (79) = 158\).
time = 0.81, size = 1088, normalized size = 12.51 \begin {gather*} -{\left (\frac {b c^{2} d \arccos \left (\frac {1}{c x}\right )}{c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}} + \frac {a c^{2} d}{c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}} + \frac {2 \, b c^{2} d {\left (\frac {1}{c^{2} x^{2}} - 1\right )} \arccos \left (\frac {1}{c x}\right )}{{\left (c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}\right )} {\left (\frac {1}{c x} + 1\right )}^{2}} - \frac {2 \, b c^{2} d \sqrt {-\frac {1}{c^{2} x^{2}} + 1}}{{\left (c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}\right )} {\left (\frac {1}{c x} + 1\right )}} + \frac {2 \, a c^{2} d {\left (\frac {1}{c^{2} x^{2}} - 1\right )}}{{\left (c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}\right )} {\left (\frac {1}{c x} + 1\right )}^{2}} - \frac {b e \arccos \left (\frac {1}{c x}\right )}{c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}} + \frac {b c^{2} d {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2} \arccos \left (\frac {1}{c x}\right )}{{\left (c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}\right )} {\left (\frac {1}{c x} + 1\right )}^{4}} + \frac {b e \log \left ({\left | \sqrt {-\frac {1}{c^{2} x^{2}} + 1} + \frac {1}{c x} + 1 \right |}\right )}{c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}} - \frac {b e \log \left ({\left | \sqrt {-\frac {1}{c^{2} x^{2}} + 1} - \frac {1}{c x} - 1 \right |}\right )}{c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}} + \frac {2 \, b c^{2} d {\left (-\frac {1}{c^{2} x^{2}} + 1\right )}^{\frac {3}{2}}}{{\left (c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}\right )} {\left (\frac {1}{c x} + 1\right )}^{3}} - \frac {a e}{c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}} + \frac {a c^{2} d {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}\right )} {\left (\frac {1}{c x} + 1\right )}^{4}} + \frac {2 \, b e {\left (\frac {1}{c^{2} x^{2}} - 1\right )} \arccos \left (\frac {1}{c x}\right )}{{\left (c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}\right )} {\left (\frac {1}{c x} + 1\right )}^{2}} + \frac {2 \, a e {\left (\frac {1}{c^{2} x^{2}} - 1\right )}}{{\left (c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}\right )} {\left (\frac {1}{c x} + 1\right )}^{2}} - \frac {b e {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2} \arccos \left (\frac {1}{c x}\right )}{{\left (c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}\right )} {\left (\frac {1}{c x} + 1\right )}^{4}} - \frac {b e {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2} \log \left ({\left | \sqrt {-\frac {1}{c^{2} x^{2}} + 1} + \frac {1}{c x} + 1 \right |}\right )}{{\left (c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}\right )} {\left (\frac {1}{c x} + 1\right )}^{4}} + \frac {b e {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2} \log \left ({\left | \sqrt {-\frac {1}{c^{2} x^{2}} + 1} - \frac {1}{c x} - 1 \right |}\right )}{{\left (c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}\right )} {\left (\frac {1}{c x} + 1\right )}^{4}} - \frac {a e {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (c^{2} - \frac {c^{2} {\left (\frac {1}{c^{2} x^{2}} - 1\right )}^{2}}{{\left (\frac {1}{c x} + 1\right )}^{4}}\right )} {\left (\frac {1}{c x} + 1\right )}^{4}}\right )} c \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((e*x^2+d)*(a+b*arcsec(c*x))/x^2,x, algorithm="giac")

[Out]

-(b*c^2*d*arccos(1/(c*x))/(c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4) + a*c^2*d/(c^2 - c^2*(1/(c^2*x^2) -
1)^2/(1/(c*x) + 1)^4) + 2*b*c^2*d*(1/(c^2*x^2) - 1)*arccos(1/(c*x))/((c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) +
 1)^4)*(1/(c*x) + 1)^2) - 2*b*c^2*d*sqrt(-1/(c^2*x^2) + 1)/((c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4)*(1
/(c*x) + 1)) + 2*a*c^2*d*(1/(c^2*x^2) - 1)/((c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4)*(1/(c*x) + 1)^2) -
 b*e*arccos(1/(c*x))/(c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4) + b*c^2*d*(1/(c^2*x^2) - 1)^2*arccos(1/(c
*x))/((c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4)*(1/(c*x) + 1)^4) + b*e*log(abs(sqrt(-1/(c^2*x^2) + 1) +
1/(c*x) + 1))/(c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4) - b*e*log(abs(sqrt(-1/(c^2*x^2) + 1) - 1/(c*x) -
 1))/(c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4) + 2*b*c^2*d*(-1/(c^2*x^2) + 1)^(3/2)/((c^2 - c^2*(1/(c^2*
x^2) - 1)^2/(1/(c*x) + 1)^4)*(1/(c*x) + 1)^3) - a*e/(c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4) + a*c^2*d*
(1/(c^2*x^2) - 1)^2/((c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4)*(1/(c*x) + 1)^4) + 2*b*e*(1/(c^2*x^2) - 1
)*arccos(1/(c*x))/((c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4)*(1/(c*x) + 1)^2) + 2*a*e*(1/(c^2*x^2) - 1)/
((c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4)*(1/(c*x) + 1)^2) - b*e*(1/(c^2*x^2) - 1)^2*arccos(1/(c*x))/((
c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4)*(1/(c*x) + 1)^4) - b*e*(1/(c^2*x^2) - 1)^2*log(abs(sqrt(-1/(c^2
*x^2) + 1) + 1/(c*x) + 1))/((c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4)*(1/(c*x) + 1)^4) + b*e*(1/(c^2*x^2
) - 1)^2*log(abs(sqrt(-1/(c^2*x^2) + 1) - 1/(c*x) - 1))/((c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4)*(1/(c
*x) + 1)^4) - a*e*(1/(c^2*x^2) - 1)^2/((c^2 - c^2*(1/(c^2*x^2) - 1)^2/(1/(c*x) + 1)^4)*(1/(c*x) + 1)^4))*c

________________________________________________________________________________________

Mupad [B]
time = 0.79, size = 72, normalized size = 0.83 \begin {gather*} a\,e\,x-\frac {d\,\left (a+b\,\mathrm {acos}\left (\frac {1}{c\,x}\right )-b\,c\,x\,\sqrt {1-\frac {1}{c^2\,x^2}}\right )}{x}-\frac {b\,e\,\mathrm {atanh}\left (\frac {1}{\sqrt {1-\frac {1}{c^2\,x^2}}}\right )}{c}+b\,e\,x\,\mathrm {acos}\left (\frac {1}{c\,x}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(((d + e*x^2)*(a + b*acos(1/(c*x))))/x^2,x)

[Out]

a*e*x - (d*(a + b*acos(1/(c*x)) - b*c*x*(1 - 1/(c^2*x^2))^(1/2)))/x - (b*e*atanh(1/(1 - 1/(c^2*x^2))^(1/2)))/c
 + b*e*x*acos(1/(c*x))

________________________________________________________________________________________